//
//  TaskWithGetAddressList.m
//  DuBai
//
//  Created by lt on 14-3-24.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import "TaskWithGetAddressList.h"

#import "Addresses.h"

@implementation TaskWithGetAddressList

-(void)prepare{
    [self startAsyncWithParams:nil withMethod:@"GET" withURL:[Configure getAddressList]];
}
-(id)parese{
    
    NSMutableArray *ret = [NSMutableArray array];
    
    for (NSDictionary *dic in self.rcvData) {
        Addresses *c = [[Addresses alloc] initWithReflectData:dic];
        [ret addObject:c];
    }
    
    return ret;

}


@end
